

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>vaddr &#8212; LLVM 9 documentation</title>
    <link rel="stylesheet" href="../_static/llvm-theme.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script src="../_static/jquery.js"></script>
    <script src="../_static/underscore.js"></script>
    <script src="../_static/doctools.js"></script>
    <script src="../_static/language_data.js"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="vaddr" href="gfx8_addr_ds.html" />
    <link rel="prev" title="waitcnt" href="gfx8_waitcnt.html" />
<style type="text/css">
  table.right { float: right; margin-left: 20px; }
  table.right td { border: 1px solid #ccc; }
</style>

  </head><body>
<div class="logo">
  <a href="../index.html">
    <img src="../_static/logo.png"
         alt="LLVM Logo" width="250" height="88"/></a>
</div>

    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="gfx8_addr_ds.html" title="vaddr"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="gfx8_waitcnt.html" title="waitcnt"
             accesskey="P">previous</a> |</li>
  <li><a href="http://llvm.org/">LLVM Home</a>&nbsp;|&nbsp;</li>
  <li><a href="../index.html">Documentation</a>&raquo;</li>

          <li class="nav-item nav-item-1"><a href="../AMDGPUUsage.html" >User Guide for AMDGPU Backend</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="AMDGPUAsmGFX8.html" accesskey="U">Syntax of GFX8 Instructions</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">vaddr</a></li> 
      </ul>
    </div>


    <div class="document">
      <div class="documentwrapper">
          <div class="body" role="main">
            
  <div class="section" id="vaddr">
<span id="amdgpu-synid8-addr-buf"></span><h1>vaddr<a class="headerlink" href="#vaddr" title="Permalink to this headline">¶</a></h1>
<p>This is an optional operand which may specify offset and/or index.</p>
<p><em>Size:</em> 0, 1 or 2 dwords. Size is controlled by modifiers <a class="reference internal" href="../AMDGPUModifierSyntax.html#amdgpu-synid-offen"><span class="std std-ref">offen</span></a> and <a class="reference internal" href="../AMDGPUModifierSyntax.html#amdgpu-synid-idxen"><span class="std std-ref">idxen</span></a>:</p>
<ul class="simple">
<li><p>If only <a class="reference internal" href="../AMDGPUModifierSyntax.html#amdgpu-synid-idxen"><span class="std std-ref">idxen</span></a> is specified, this operand supplies an index. Size is 1 dword.</p></li>
<li><p>If only <a class="reference internal" href="../AMDGPUModifierSyntax.html#amdgpu-synid-offen"><span class="std std-ref">offen</span></a> is specified, this operand supplies an offset. Size is 1 dword.</p></li>
<li><p>If both modifiers are specified, index is in the first register and offset is in the second. Size is 2 dwords.</p></li>
<li><p>If none of these modifiers are specified, this operand must be set to <a class="reference internal" href="../AMDGPUOperandSyntax.html#amdgpu-synid-off"><span class="std std-ref">off</span></a>.</p></li>
</ul>
<p><em>Operands:</em> <a class="reference internal" href="../AMDGPUOperandSyntax.html#amdgpu-synid-v"><span class="std std-ref">v</span></a>, <a class="reference internal" href="../AMDGPUOperandSyntax.html#amdgpu-synid-off"><span class="std std-ref">off</span></a></p>
</div>


            <div class="clearer"></div>
          </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="gfx8_addr_ds.html" title="vaddr"
             >next</a> |</li>
        <li class="right" >
          <a href="gfx8_waitcnt.html" title="waitcnt"
             >previous</a> |</li>
  <li><a href="http://llvm.org/">LLVM Home</a>&nbsp;|&nbsp;</li>
  <li><a href="../index.html">Documentation</a>&raquo;</li>

          <li class="nav-item nav-item-1"><a href="../AMDGPUUsage.html" >User Guide for AMDGPU Backend</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="AMDGPUAsmGFX8.html" >Syntax of GFX8 Instructions</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">vaddr</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2003-2020, LLVM Project.
      Last updated on 2020-09-20.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.2.1.
    </div>
  </body>
</html>